import App from "./App";

// vuex
import store from "./store";

import Vue from "vue";
import uView from "@/uni_modules/uview-ui";
Vue.use(uView);
Vue.prototype.$store = store;
// 全局注册cmp
import ImgUpload from "./components/Upload";
Vue.component("ImgUpload", ImgUpload);

import UploadMore from "./components/UploadMore";
Vue.component("UploadMore", UploadMore);

import PopView from "./components/PopView";
Vue.component("PopView", PopView);

import Position from "./components/Position";
Vue.component("Position", Position);

import mixin from "./mixins";
Vue.mixin(mixin);
Vue.config.productionTip = false;
App.mpType = "app";
const app = new Vue({
  store,
  ...App,
});
app.$mount();
